ImageGen 2.0.1 has a bug in the caching system that may allow the 'cached' folders to grow and grow, wasting disk space and slowing site performance.
I'm working on ImageGen 3 and the updated version has a number of fixes, including the important 'caching bug.' I don't want to wait to get this into users hands.
NOTEIf you use the ?text= parameter you may notice some small changes to the appearance of text images, as that area has seen a lot of work. If you do use ?text= you'll want to compare the images created by this updated version; you might need to modify your macros or css slightly to accommodate the changes in text handling. Otherwise, the update is fully backward compatible.
TO UPDATE IMAGEGEN0. install ImageGen 2.0.1 normally1. download and expand the updated .zip file from ImageGen.2.2.1.38932.zip2. replace /bin/imagegen.dll3. replace /umbraco/imagegen.ashx4. delete all folders named 'cached' on your site
cheers,doug.
JIIIIHAAAA !!!
Thanx ! :-)
Ohh, you're making lots of clients soooo happy. Well done Doug!
Cheers,
/Dirk
Thanks Doug. Imagegen is an excellent and integral part of the Umbraco site-building toolkit IMO.
I get an object reference not set to an instance of an object, I am using TIFF based images, is that even compatible ?
TIF is not officially supported (I haven't tested it extensively) but it should work and I've used it before. There are lots of types of tiff files (color depth, compression, byte order) and it may be that not every combination works properly.
First things first... do you have any problem with jpg or png images? If not, then it is probably the combination of tiff file details that isn't compatible with ImageGen. If you re-save the tiff with different details. I believe 8-bit (rather than 16-bit), full color, rle or no compression, pc compatible byte format works.
You might also start with a small image and then work up in filesize from there. As the filesize gets larger it takes longer and longer to process the image with ImageGen (the number of bytes grows quickly as image dimensions increase) and you might possibly be running out of memory if you're working with massive images?
We are trying to make it easy for the user (seams that the user is somewhat "unsure" of how web and cms works).
The ideer is to make it possible to upload on huge/highres image, and that will be made into a highres, lowres, preview and thumbnail version.
I have no control over what formats the tiff gets saved as.
Can this en up as a null reference ?.
I am hoping that we can finde a sollution to this, because I am suppose to deliver this project today, but I cant get it done untill monday earliest, and there are different ways to achieve this, but preferable ImageGen should handle it all
Best regards,
Robin
As I said, ImageGen does not officially support tiff format, though it should work.
But perhaps the issue isn't related to the tiffs? Does ImageGen always give you a null reference exception, even for jpgs? Have you applied the patch for ImageGen 2.2? Are you running it on localhost?
I am trying it out on jpeg's right now, I have also applied the patch, and I have not been able to get the class's working in the config file, even tho the registrationinfo is functioning.
I works in jpg's, I have also applied the patch, and I have not been able to get the class's working in the config file, even tho the registrationinfo is functioning.
Okay, it's not a general ImageGen problem if it's working with jpgs. Two things remain to be sorted out... ImageGen Pro features not active and tiff files giving a null reference error.
Be sure to check that you've got the Pro features enabled for your domain by calling http://mydomain.dk/umbraco/imagegen.ashx?version If the Pro features aren't enabled for your domain then you either need to double-check the web.config and /config/imagegen.config settings (see the documentation for ImageGen) or else you need to purchase a registration key for the domain you're using.
If you can't figure it out, contact me through my website (www.percipientstudios.com) so we can sort out the issus with your web.config and /config/imagegen.config files. We can also to share a few tiffs that don't work and some that do.
I'm off for the weekend but I'll check my mail periodically and we'll get this sorted out as soon as possible.